var redis=require('redis');
var c=redis.createClient();

c.hmset('hash-ary',['k1','v1','k2','v2'],(err,ret)=>{
	console.log(err,ret);

	c.hgetall('hash-ary',(err,ret)=>{
		console.log(err,ret);
	});
});